import request from "/@/utils/request";

export function useProxyApi() {
  return {
    getLocalIp() {
      return request({
        url: "/getLocalIp",
        method: "get",
      });
    },
    getAvaiablePort(params?: object) {
      return request({
        url: "/getAvailablePort",
        method: "get",
        params,
      });
    },
  };
}
